Integrand size = 13, antiderivative size = 12 \[ \int \frac {\csc ^2(x)}{(a+b \cot (x))^2} \, dx=\frac {1}{b (a+b \cot (x))} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3587, 32} \[ \int \frac {\csc ^2(x)}{(a+b \cot (x))^2} \, dx=\frac {1}{b (a+b \cot (x))} \]
[In]
[Out]
Rule 32
Rule 3587
Rubi steps \begin{align*} \text {integral}& = -\frac {\text {Subst}\left (\int \frac {1}{(a+x)^2} \, dx,x,b \cot (x)\right )}{b} \\ & = \frac {1}{b (a+b \cot (x))} \\ \end{align*}
Time = 0.03 (sec) , antiderivative size = 17, normalized size of antiderivative = 1.42 \[ \int \frac {\csc ^2(x)}{(a+b \cot (x))^2} \, dx=\frac {\sin (x)}{b (b \cos (x)+a \sin (x))} \]
[In]
[Out]
Time = 0.31 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.08
method | result | size |
derivativedivides | \(\frac {1}{b \left (a +b \cot \left (x \right )\right )}\) | \(13\) |
default | \(\frac {1}{b \left (a +b \cot \left (x \right )\right )}\) | \(13\) |
risch | \(-\frac {2 i}{\left (i b \,{\mathrm e}^{2 i x}+a \,{\mathrm e}^{2 i x}+i b -a \right ) \left (i b +a \right )}\) | \(38\) |
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 39 vs. \(2 (12) = 24\).
Time = 0.28 (sec) , antiderivative size = 39, normalized size of antiderivative = 3.25 \[ \int \frac {\csc ^2(x)}{(a+b \cot (x))^2} \, dx=-\frac {a \cos \left (x\right ) - b \sin \left (x\right )}{{\left (a^{2} b + b^{3}\right )} \cos \left (x\right ) + {\left (a^{3} + a b^{2}\right )} \sin \left (x\right )} \]
[In]
[Out]
\[ \int \frac {\csc ^2(x)}{(a+b \cot (x))^2} \, dx=\int \frac {\csc ^{2}{\left (x \right )}}{\left (a + b \cot {\left (x \right )}\right )^{2}}\, dx \]
[In]
[Out]
none
Time = 0.23 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.00 \[ \int \frac {\csc ^2(x)}{(a+b \cot (x))^2} \, dx=\frac {1}{{\left (b \cot \left (x\right ) + a\right )} b} \]
[In]
[Out]
none
Time = 0.26 (sec) , antiderivative size = 13, normalized size of antiderivative = 1.08 \[ \int \frac {\csc ^2(x)}{(a+b \cot (x))^2} \, dx=-\frac {1}{{\left (a \tan \left (x\right ) + b\right )} a} \]
[In]
[Out]
Time = 12.37 (sec) , antiderivative size = 14, normalized size of antiderivative = 1.17 \[ \int \frac {\csc ^2(x)}{(a+b \cot (x))^2} \, dx=-\frac {1}{\mathrm {tan}\left (x\right )\,a^2+b\,a} \]
[In]
[Out]